/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.StorageCutDao;
import com.click.app.model.StorageCut;
import com.click.app.service.StorageCutManager;
import java.util.List;

/**
 *
 * @author ariel
 */
public class StorageCutManagerImpl extends GenericManagerImpl<StorageCut, Long> implements StorageCutManager {

    StorageCutDao storageCutDao;

    public StorageCutManagerImpl(StorageCutDao storageCutDao) {
        super(storageCutDao);
        this.storageCutDao = storageCutDao;
    }

    public List<StorageCut> findByModel(Long idModel, Long idModelSize, Long idMaterial) {
        return storageCutDao.findByModel(idModel, idModelSize, idMaterial);
    }
    public List<StorageCut> findByPantDesign(Long idPantDesign){
        return storageCutDao.findByPantDesign(idPantDesign);
    }
    public List<StorageCut> getAllGreaterThanCero(){
        return storageCutDao.getAllGreaterThanCero();
    }
}
